package com.woniu.dao.impl;

import com.woniu.dao.IDeptDao;
import org.apache.log4j.Logger;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author zhaolei
 * @date 2021/4/13 - 23:42
 * @Component 的作用相当于在Spring的配置文件中添加了bean节点
 */
//@Component("deptdao")
@Repository("deptdao")
public class DeptDaoImpl implements IDeptDao {
    private Logger logger = Logger.getLogger(this.getClass());
    @Override
    public List findAll() {
        logger.info("输出信息:赵雷");
        return null;
    }
}
